<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	template="/resources/templates/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="page" value="#{sysFfAccJnSpBean.page}"/>
		<f:event type="preRenderView" listener="#{sysFfAccJnSpBean.paginate}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="Search Sys Ff Acc Jn Sp entities"/>

	<ui:define name="header">
		Sys Ff Acc Jn Sp
	</ui:define>

	<ui:define name="subheader">
		Search Sys Ff Acc Jn Sp entities
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:form id="search">
			<f:validateBean disabled="true">
				<h:panelGroup styleClass="search">

					<h:panelGrid columnClasses="label,component,required" columns="3">
						<h:outputLabel for="sysFfAccJnSpBeanExampleRecCode" value="Rec Code:"/>
						<h:panelGroup>
							<h:inputText id="sysFfAccJnSpBeanExampleRecCode" value="#{sysFfAccJnSpBean.example.recCode}"/>
							<h:message for="sysFfAccJnSpBeanExampleRecCode" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="sysFfAccJnSpBeanExampleCode01" value="Code 01:"/>
						<h:panelGroup>
							<h:inputText id="sysFfAccJnSpBeanExampleCode01" maxLength="4" value="#{sysFfAccJnSpBean.example.code01}"/>
							<h:message for="sysFfAccJnSpBeanExampleCode01" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="sysFfAccJnSpBeanExampleCode02" value="Code 02:"/>
						<h:panelGroup>
							<h:inputText id="sysFfAccJnSpBeanExampleCode02" maxLength="4" value="#{sysFfAccJnSpBean.example.code02}"/>
							<h:message for="sysFfAccJnSpBeanExampleCode02" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="sysFfAccJnSpBeanExampleCode03" value="Code 03:"/>
						<h:panelGroup>
							<h:inputText id="sysFfAccJnSpBeanExampleCode03" maxLength="2" value="#{sysFfAccJnSpBean.example.code03}"/>
							<h:message for="sysFfAccJnSpBeanExampleCode03" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="sysFfAccJnSpBeanExampleCode04" value="Code 04:"/>
						<h:panelGroup>
							<h:inputText id="sysFfAccJnSpBeanExampleCode04" maxLength="2" value="#{sysFfAccJnSpBean.example.code04}"/>
							<h:message for="sysFfAccJnSpBeanExampleCode04" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
					</h:panelGrid>
					<h:panelGroup styleClass="buttons">
						<h:commandLink value="Search" action="#{sysFfAccJnSpBean.search}" styleClass="btn btn-primary"/>
						<h:commandLink value="Create New" action="#{sysFfAccJnSpBean.create}" styleClass="btn btn-primary"/>
					</h:panelGroup>
				</h:panelGroup>
			</f:validateBean>
			
			<h:dataTable id="sysFfAccJnSpBeanPageItems" styleClass="data-table" value="#{sysFfAccJnSpBean.pageItems}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Rec Code"/>
					</f:facet>
					<h:link outcome="/form/sysFfAccJnSp/view">
						<f:param name="id" value="#{_item.recCode}"/>
						<h:outputText id="itemRecCode" value="#{_item.recCode}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<ui:include src="/resources/scaffold/paginator.xhtml">
				<ui:param name="paginatorBean" value="#{sysFfAccJnSpBean}"/>
			</ui:include>
		</h:form>
			
	</ui:define>

</ui:composition>
